<div class="card" id="roominfo">
    <div class="card-block">
        <div class="table-responsive">
            <div id="data-table_wrapper" class="dataTables_wrapper">
                <div class="dataTables_buttons hidden-sm-down actions">
                    <span class="actions__item zmdi zmdi-search" onclick="search()" title="搜索" />
                    <span class="actions__item zmdi zmdi-refresh-alt" onclick="refresh()" title="刷新" />
                </div>
                <div id="data-table_filter" class="dataTables_filter">
                    <form class="room-table-form">
                        <div class="row">
                            <div class="col-sm-4">
                                <div class="input-group">
                                    <span class="input-group-addon">
					               	名称：
					            	</span>
                                    <div class="form-group">
                                        <input type="text" name="name" class="form-control">
                                        <input id="hiddenText" type="text" style="display:none" />
                                        <i class="form-group__bar"></i>
                                    </div>
                                </div>
                            </div>
                            <div class="col-sm-2">
                                <div class="input-group">
                                </div>
                            </div>
                            <div class="col-sm-2">
                                <div class="input-group">
                                    <span class="input-group-addon">
					                <a href="javascript:void(0)" style='padding: 3px 1.5rem;display:inline-block;border:1px solid #999999;text-align:center;float:left;margin-top:12px;width:100px;font-size:14px;'  id="addRoom">新增房间</a>
					            </span>
                                </div>
                            </div>
                            <div class="col-sm-2">
                                <div class="input-group">
                                    <span class="input-group-addon">
		                            <a href="javascript:void(0)" style='padding: 3px 1.5rem;display:inline-block;border:1px solid #999999;text-align:center;float:left;margin-top:12px;width:100px;font-size:14px;' id="editRoom">修改房间</a>
					            </span>
                                </div>
                            </div>
                            <div class="col-sm-2">
                                <div class="input-group">
                                    <span class="input-group-addon">
		                            <a href="javascript:void(0)" style='padding: 3px 1.5rem;display:inline-block;border:1px solid #999999;text-align:center;float:left;margin-top:12px;width:100px;font-size:14px;' id="bookRoom">房态管理</a>
					            </span>
                                </div>
                            </div>
                        </div>
                    </form>
                </div>
                <table id="roomTable" data-mobile-responsive="true" class="mb-bootstrap-table"></table>
            </div>
        </div>
    </div>
</div>
<script data-th-src="@{js/app/hotel/hotel/room.js}"></script>
<script type="text/javascript">
window.onkeydown = document.onkeydown = keydown; 
function keydown(evt) {
	var evt = window.event || evt
	if(evt.keyCode==13){
		search();
	}
}
</script>